package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

//学员班级转换
@Setter
@Getter
@ToString
public class StudentChangeClass {
    private Long id;

    private String name;                       //学生姓名

    private DictionaryItem totalTuition;               //总学费

    private BigDecimal hasTuition;                    //已交款

    private BigDecimal noTuition;                     //未交款

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date changeClassTime;               //转班时间

    private String tel;                         //联系电话

    private Clazz beforeClass;                //以前班级

    private Clazz nowClass;                   //现在班级

    private Employee marketingPerson;           //营销人员

    private int auditState;                 //审核状态

    //之前学生id
    private Long beforeStuId;

}